convert bytes to string and back c#

74

convert bytes to string and back c# -

string base64 = Convert.ToBase64String(bytes);
byte[] bytes = Convert.FromBase64String(base64);

Comments

Submit
0 Comments